package com.yunxi.sto.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.sto.pojo.PartnerVehicleTradeDetailVO;

import java.util.ArrayList;
import java.util.List;

public class PartnerVehicleTradeDetailDubboServiceMock implements PartnerVehicleTradeDetailDubboService {
    @Override
    public PartnerVehicleTradeDetailVO getById(String id) throws Exception {
        PartnerVehicleTradeDetailVO vo  =  new  PartnerVehicleTradeDetailVO();
        vo.setTradeDetailId("暂无数据");
        return vo;
    }

    @Override
    public void saveOrUpdate(PartnerVehicleTradeDetailVO partnerVehicleTradeDetailVO) throws Exception {

    }

    @Override
    public void removeById(String id) {

    }

    @Override
    public PageInfo<PartnerVehicleTradeDetailVO> findPageByVO(PartnerVehicleTradeDetailVO partnerVehicleTradeDetailVO, Integer pageNum, Integer pageSize) throws Exception {
        PageInfo<PartnerVehicleTradeDetailVO> page =  new   PageInfo<PartnerVehicleTradeDetailVO>();
        List  list  =  new ArrayList();
        PartnerVehicleTradeDetailVO vo =  new PartnerVehicleTradeDetailVO();
        vo.setTradeDetailId("暂无数据");
        list.add(vo);
        page.setList(list);
        return page;

    }

    @Override
    public void removeByListVo(List<PartnerVehicleTradeDetailVO> partnerVehicleTradeDetailVOList) throws Exception {

    }

    @Override
    public List listByVo(PartnerVehicleTradeDetailVO partnerVehicleTradeDetailVO) {
        List  list  =  new ArrayList();
        PartnerVehicleTradeDetailVO vo =  new PartnerVehicleTradeDetailVO();
        vo.setTradeDetailId("暂无数据");
        list.add(vo);
        return list;
    }
}
